projects
/
dcmtk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bac454
)
Fixed typo, forgot 'id' command
author
Lance Lin
<lqi254@protonmail.com>
Wed, 13 Apr 2022 12:44:02 +0000
(19:44 +0700)
committer
Lance Lin
<lqi254@protonmail.com>
Wed, 13 Apr 2022 12:44:02 +0000
(19:44 +0700)
debian/dcmtk.postrm
patch
|
blob
|
history
diff --git
a/debian/dcmtk.postrm
b/debian/dcmtk.postrm
index 17d01187db96c1be40ca06fa0724faa560615650..5a493f483fbb7d597ab5c47a84baea4b638d1a5d 100644
(file)
--- a/
debian/dcmtk.postrm
+++ b/
debian/dcmtk.postrm
@@
-16,7
+16,7
@@
if [ "$1" = "purge" ] ; then
fi
# Remove dcmtk user/group if they exist on cleanup
-if -u "dcmtk" > /dev/null 2>&1; then
+if
id
-u "dcmtk" > /dev/null 2>&1; then
echo "Removing 'dcmtk' user and group from the system...\n"
userdel dcmtk
fi